package com.ssy.lingxi.pay.api.dto.request.eAccount;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 缓存通联配置参数请求实体类
 * @author lqa
 * @version 2.0.0
 * @date 2021/12/14
 */
@Data
public class CacheParamsRequest implements Serializable {

    /**
     * 配置code OrderPaymentParameterEnum定义
     */
    @NotNull(message = "缓存参数code不能为空")
    private Integer code;
    /**
     * 通联参数值
     */
    @NotBlank(message = "缓存参数值不能为空")
    private String value;
}
